home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / crcPPC / crcPPC.readme < prev    next >
Encoding:
Text File  |  1998-03-17  |  1.8 KB  |  57 lines

  1. Short: Fast CRC tools & sources (PPC and 68k)
  2. Type: dev/c
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Author: unknown
  5. Replaces: crc.lha
  6.  
  7.  CRC2, CRCFast and CRCTab ports for 68k and PPC,
  8.  including sources. Author unknown.
  9.  
  10.  The difference 68k -> PPC gets significant
  11.  on large files, e.g. greater 1 MB.
  12.  
  13.  1.0: - PPC/68k port for Amiga
  14.  1.1: - changed "unsigned int" to "unsigned short int" in
  15.         both, crc2.c and crcfast.c
  16.       - no more regargs for the 68k version (PPC, too)
  17.       - fixed array overflow in crcfast.c
  18.       - hopefully works ok now - if not, feel free to
  19.         send bug reports by *email*
  20.  
  21.  --
  22.  ARK, 17/Mar/98
  23.  
  24. *************************************************************************************
  25.  
  26.                 Cyclic Redundancy Check
  27. ---------------------------------------------------------
  28.  
  29. This archive includes the following three files:
  30.  
  31.         crc2.c          Computes crc by bit shifting
  32.         crcfast.c       Computes crc by table lookup
  33.         crctab.c        Computes tables used in crcfast.c
  34.         crc.doc         This file
  35.  
  36.         The utilities crc2 and crcfast compute the cyclic redundancy checks
  37. for both the crc-16 (used in arc files) and crc-ccitt (used in xmodem).
  38. crcfast is faster than crc2.  These routines compute the crc's for a
  39. given file as a means of checking data integrity.
  40.         These routines compile without change under Turbo C.  All are
  41. short and illustrate the basic principles of crc calculations.
  42.  
  43.  
  44.  
  45. CRC References:
  46.  
  47.         C Programmer's Guide to Serial Communications, J. Compbell,
  48.                 Howard W. Sams & Co.,(1987)
  49.  
  50.         The Great CRC Mystery, T. Ritter, Dr. Dobb's Journal,
  51.                 (February 1986)
  52.  
  53.         Byte-Wise CRC Calculations, A. Perez, Wismer, & Becker,
  54.                 IEEE Micro, (June 1983)
  55.  
  56. *************************************************************************************
  57.